package com.hk.commons.entity.order;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * Title:Reservation Description: 预约记录表 Company:HK
 * 
 * @author Sam
 * @date 2016年3月1日下午3:25:36
 */
@Entity
@Table(name = "t_reservation_info")
public class Reservation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8540111457547812245L;

	@Id
	private Long id;

	/** 用户ID */
	private Long userId;

	/** 产品ID */
	private Long productId;

	private Integer companyId;

	/** 预约金额 **/
	private BigDecimal amount = new BigDecimal("0");

	/** 支付金额 **/
	private BigDecimal payAmount = new BigDecimal("0");

	/** 预期收益 **/
	private BigDecimal dividend;

	/** 预约状态：1 待打款 2 已打款 */
	private Integer status;

	/** 预约时间 */
	private Long cts;

	/** 理财师 ID */
	private Long inside;

	/** 修改时间 */
	private Long upts;

	/** 操作人 */
	private Long operator;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}

	public Long getInside() {
		return inside;
	}

	public void setInside(Long inside) {
		this.inside = inside;
	}

	public Long getUpts() {
		return upts;
	}

	public void setUpts(Long upts) {
		this.upts = upts;
	}

	public Long getOperator() {
		return operator;
	}

	public void setOperator(Long operator) {
		this.operator = operator;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public BigDecimal getDividend() {
		return dividend;
	}

	public void setDividend(BigDecimal dividend) {
		this.dividend = dividend;
	}

}
